package com.jenings.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jenings.shop.entity.SPCard;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface SPCardMapper extends BaseMapper<SPCard> {
    //购物车接口
    //查询购物车所有商品
    public List<SPCard> selectAll();
    //修改购物车信息
    public boolean updateByte(SPCard spCard);
    //删除购物车信息
    public boolean delByte(Integer gwcid);
    //添加购物车
    public boolean insertByte(SPCard spCard);

}
